<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<f:view>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>UV Process</title>
</head>
<body>
	<center>
	<br/>
	<br/>
	<br/>
	<h1><h:outputText value="#{uvbean.operation}"/> UV</h1>
	<h:form>
	<h:messages/>
	<h:inputHidden value="#{uvbean.operation}"/>	
	<h:panelGrid columns="2" >
		<h:outputText value="Name:"/>
		<h:inputText value="#{uvbean.name}"/>
		<h:outputText value="Description:"/>
		<h:inputText value="#{uvbean.description}"/>
		<h:outputText value="InCharge:"/>
		<h:outputText value="#{userbean.username}"/>
		<h:outputText value="Year:"/>
		<h:inputText value="#{uvbean.year}"/>
		<h:outputText value="CM:"/>
		<h:inputText value="#{uvbean.CM}"/>
		<h:outputText value="TP:"/>
		<h:inputText value="#{uvbean.TP}"/>
		<h:outputText value="TD:"/>
		<h:inputText value="#{uvbean.TD}"/>
		<h:outputText value="BE:"/>
		<h:inputText value="#{uvbean.BE}"/>
		<h:outputText value="Controle:"/>
		<h:inputText value="#{uvbean.controle}"/>
		<h:commandButton value="Save" action="#{uvbean.save}" actionListener="#{uvbean.action}">
			<f:attribute name="operation" value="#{uvbean.operation}"/>
		</h:commandButton>
	</h:panelGrid>
	</h:form>
	</center>
</body>
</html>
</f:view>
